package com.test.mapper;


import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Lenovo on 2019/1/10.
 */
public interface BaseMapper<PO extends Serializable>{

    int deleteByPrimaryKey(Long id);

    int insert(PO record);

    int insertSelective(PO record);

    PO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PO record);

    int updateByPrimaryKey(PO record);

    List<PO> selectAll();
}
